Systems and methods for computer security

ABSTRACT

A method for maintaining computer security comprises receiving an incoming email destined for an email server, determining whether the received incoming email is infected with malicious code and blocking the incoming email determined to be infected with malicious code from reaching the email server.

BACKGROUND

1. TECHNICAL FIELD

The present disclosure relates to security and, more particularly, to methods and systems for computer security.

2. Description of the Related Art

With the growth of the Internet, the increased use of computer systems and the exchange of information between individual users pose a threat to the security of computers. Computer security attempts to ensure the reliable operation of networking and computing resources and attempts to protect information on the computer or network from unauthorized access or disclosure. Computer system(s) as referred to herein may include(s) individual computers, servers, computing resources, networks, etc. Among the various security threats that present increasingly difficult challenges to the secure operation of computer systems are hypertext transfer protocol (HTTP) attacks, computer viruses, worms, Trojan horses, etc. HTTP attacks are often targeted at exploiting known web site vulnerabilities by manipulating application behavior for malicious purposes. Computer viruses are programs that can infect other programs by modifying them in such a way as to include a copy of themselves. Unlike computer viruses, worms do not need to infect other programs. Worms are independent programs that are capable of reproducing themselves, spreading from machine to machine across network connections.

These threats prey on system vulnerabilities and have proven themselves to be extremely destructive, often times altering databases, destroying electronic files, and even disabling the computer network itself.

System administrators responsible for the efficient day to day operation of computer networks may use many different techniques to protect the system from such attacks. Those techniques may include installing firewalls, utilizing virus checking software to detect viruses, and employing patching software to counteract contracted viruses.

A firewall is basically a separate computer system and/or software system composed of a set of related programs that is placed between a private computer system and a public network (i.e., Internet). A firewall provides security protection to the system by screening incoming requests and preventing unauthorized access. Firewalls operate by working with router programs to determine the next destination to send information packets, ultimately deciding whether or not to forward the packets to that location. Firewalls can also impose internal security measures on users in the system by preventing them from accessing certain materials, such as websites on the World Wide Web, that may have unknown and potentially dangerous security consequences.

Proxy servers, often associated with firewalls, are programs that act as intermediaries between web servers and web browsers. More specifically, proxy servers forward requests from users in the private network through the firewalls to Internet services, retrieve the requested information, and return it to the web server. Reverse proxy servers work like normal proxies; however, they operate in the reverse. That is, they forward requests from the Internet often through a firewall to the private network's server(s) and other hardware, retrieve the requested information, and return it to the Internet user.

Virus checking software operates to protect the network from the spread of viruses by detecting the virus and isolating or removing the viral code. Virus checking software may be employed in each computer connected to the network (through the desktop) and/or at the server level (through a firewall). Virus checking software may contain a list of previously defined virus signatures, containing binary patterns, each associated with a virus. The system scans the various files of the system looking for a match to a particular virus signature. If a virus is detected, the user is notified and further steps may be taken to rid the system of the malicious code. The problem with anti-virus programs is that they should be continuously updated to be able to detect new and modified viruses. This not only proves to be a very tedious and time consuming task for very large networks that have hundreds of users, but even for small networks and individual computer users, it may not happen often enough to provide adequate safeguards against foreign intrusions. Furthermore, although the anti-virus software may detect viruses present in the system, it does nothing to prevent them from infiltrating the system in the first place.

Patching is the process by which security holes and system vulnerabilities are closed through the application of a “patch”, updated software code that is used to address bugs. However, in large companies, to ensure that the application of a patch will be feasible, system administrators are forced to comply with specific procedures before applying patches, for example, to ensure that the patch will do no further damage to the system. These procedures often take time and increase the chances that an exploit will be able to compromise the organization's web servers before the patch is even applied. In addition, a more prevalent problem with patches is that system administrators of large and small companies alike, need to continuously monitor appropriate information sources to be aware of new patches. Thus, administrators are burdened with continuously keeping up to date to minimize the chance of security breaches.

An example of an email system is shown in FIG. 2. The system includes an email server 21 and clients 24 which may or may not be on a same network. Email destined for clients 24 is received from the Internet 26 and stored in email server 21. Clients 24 can then access their email by, for example, sending a request to email server 21.

The use of malicious email to spread viruses has grown along with the growth of the internet. An email attack may be carried out by including malicious code in the body of the email message itself or in any attachments to the email. For example, email viruses exist in which malicious code is included in the email message or in the attachments to the email. When the email or attachment is opened, the malicious code is downloaded to the user's computer system. The malicious code may then email copies of itself to other systems utilizing addresses located in email address books found on the user's computer system. These are examples of the types of attack which can be addressed by the present disclosure.

Accordingly, it would be beneficial to provide a method and system for preventing security breaches and ensuring that exploitation of system vulnerabilities will not come to light.

SUMMARY

A method, system and computer recording medium for maintaining computer security comprise receiving an incoming email destined for an email server, determining whether the received incoming email is infected with malicious code and blocking the incoming email determined to be infected with malicious code from reaching the email server.

A method, system and computer recording medium for maintaining computer security comprise receiving an email from an email server destined for an end user, determining whether the received email is infected with malicious code and blocking the received email determined to be infected with malicious code from reaching the end user.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the present disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:

FIG. 1 illustrates an example of a computer system capable of implementing the systems and methods of the present disclosure;

FIG. 2 is a block diagram illustrating a background email server system;

FIG. 3 is a block diagram of an email server system according to an embodiment of the present disclosure;

FIG. 4 is a block diagram illustrating the basic architecture of a proxy according to an embodiment of the present disclosure;

FIG. 5 is a flow chart for describing operation of the proxy machine according to an embodiment of the present disclosure;

FIG. 6 is a block diagram illustrating the relationship between a proxy machine and a signature file according to an embodiment of the present disclosure;

FIG. 7 is a block diagram illustrating the relationship between a proxy and a remote database according to an embodiment of the present disclosure; and

FIG. 8 is a block diagram illustrating the relationship between a proxy machine and a service center according to an embodiment of the present disclosure.

DETAILED DESCRIPTION

In describing preferred embodiments of the present disclosure illustrated in the drawings, specific terminology is employed for sake of clarity. However, the present disclosure is not intended to be limited to the specific terminology so selected, and it is to be understood that each specific element includes all technical equivalents which operate in a similar manner.

FIG. 1 shows an example of a computer system which may implement the method and system of the present disclosure. The system and method of the present disclosure may be implemented in the form of a software application running on a computer system, for example, a mainframe, personal computer (PC), handheld computer, server, etc. The software application may be stored on a recording media locally accessible by the computer system, for example, floppy disk, compact disk, hard disk, etc., or may be remote from the computer system and accessible via a hard wired or wireless connection to a network, for example, a local area network, or the Internet.

The computer system referred to generally as system 100 may include a central processing unit (CPU) 102, for example, Random Access Memory (RAM), a printer interface 106, a display unit 108, a (LAN) local area network data transmission controller 110, a LAN interface 112, a network controller 114, an internal bus 116, and one or more input devices 118, for example, a keyboard, mouse etc. As shown, the system 100 may be connected to a data storage device, for example, a hard disk, 120, via a link 122.

A system for maintaining computer security according to an embodiment of the present disclosure is described with reference to FIG. 3. Proxy machine 22 provides an interface between email server 21 and clients 24 and the Internet 26. For example, proxy 22 may be in the form of a firewall or computer hardware system and/or software system that interfaces with email server 21. Clients 24 may or may not be on a same network. The domain name service (DNS) entry for email server 21 points to proxy machine 22. One or more signature files 23 may be provided which contain information about known vulnerabilities and exploits that may be used against email server 21. This information is made available to proxy machine 22. Email going to and coming from email server 21 passes through proxy machine 22.

When used in conjunction with signature file 23, proxy machine 22 works to protect email server 21 from malicious attacks. When email is received, for example, from a computer on Internet 26 or a client 24, it is first directed to proxy machine 22. Proxy machine 22 then determines whether the received email is malicious. If proxy machine 22 determines that the email is in fact malicious, proxy machine 22 blocks the email from reaching email server 21, thereby preventing it from ever exploiting email server 21. On the other hand, if proxy machine 22 determines that the email is not malicious, it will forward it to email server 21.

FIG. 4 illustrates the basic architecture of proxy machine 22 and FIG. 5 is a flow chart for explaining the operation of proxy machine 22 according to embodiments of the present disclosure. As noted above, incoming email from systems on the Internet 26 and clients 24 first pass through proxy server 22. According to an embodiment of the present disclosure as shown in FIG. 4, proxy 22 is composed of an email message parser module 31, an email message analyzer module 32 and an email message reassembly module 33.

The email message parser module 31 receives incoming email (Step S2), parses the incoming email (Step S4) and converts it into an internal structure that email message analyzer module 32 recognizes (Step S6). The data in the internal structure is then passed to email message analyzer 32 where it is examined looking for any suspicious malicious code (Step S8). For example, the email message itself could be scanned using intrusion detection signatures to determine if the email message would exploit any vulnerabilities of email server 21. Any attachments to the email could also be scanned through an anti-virus system of signatures to determine if the attachment is infected with malicious code. If email message analyzer module 32 determines that the attachment is infected (YES, Step S10), the attachment can be blocked and the email may be modified to indicate to the end recipient that an attachment to the email was blocked (Step S12). The email (minus the attachment) can then be sent on to email server 21 (Step S16). A return email can also be forwarded to the sender of the email informing them that the attachment was blocked. In the alternative, if it is determined that the attachment is infected, the email and the attachment can be blocked. In this case, a return email can be prepared and forwarded to the sender (and recipient if desired) of the email indicating that the entire email was blocked. In this way, the malicious attachment to the email can be blocked from ever reaching email server 21. If the body of the email message itself were infected with malicious code that could exploit email server 21, the entire message could be blocked. If desired, an email could be automatically generated and sent to the sender and/or the intended recipient, informing them that the entire email has been blocked. If nothing malicious is found in the attachment or in the email message itself (NO, Step S10), the email is reassembled into its original format including any attachments, by email message reassembly module 33 (Step S14) and is then sent to email server 21 (Step S16).

Email messages being retrieved from email server 21 by a client 24 may also be screened by proxy machine 22. It is possible that some type of malicious code reached the email server 21 because the malicious code is more recent than the signature files being used by proxy machine 22. Accordingly, once the signature files 23 have been updated, any malicious code in the email (the email message or attachment) that may have reached email server 21 can be prevented from spreading since email proxy 22 will now detect the malicious code and block the email and/or the attachment. If the email and/or attachment is blocked, a notification can be forwarded to the recipient and sender of the email informing them of such.

The relationship between proxy machine 22 and signature file 23 according to an embodiment of the present disclosure is described with reference to FIG. 6. According to this embodiment of the present disclosure, signature file 23 is periodically updated to protect against the most up to date attacks. To do so, signature file 23 periodically accesses FTP Server 41 via the Internet 26 and downloads the latest versions of signature files.

According to another embodiment, as shown in FIG. 7, instead of proxy 22 getting information from signature file 23, proxy machine 22 queries a remote database 51 via Internet 26 for matching signatures. According to yet another embodiment, as shown in FIG. 8, a service center 61 automatically sends updated signature files to signature file 23 via Internet 26 periodically or whenever a new attack is discovered.

Email message parser 31 and email message reassembly 33 (FIG. 4) may include one or more libraries having standard interfaces. There may be a separate library for each email protocol supported by proxy 22. Examples of email protocols that may be supported include Simple Mail Transfer Protocol (SMTP), Exchange, Notes, etc. The library to be used may be determined when the proxy is installed. Parser 31 is capable of converting email into an internal structure that would be encompass the capabilities of each protocol that the proxy supported.

Email systems that include some form of security such as, for example, authentication between client and server, may also be supported. For example, the client may forward a message to proxy 22 to perform authentication. The message may then be forwarded to email server 21 so that it appeared to email server 21 that proxy 22 was logging on as the same user as the client. If an encryption system is used, proxy 22 can negotiate a key with client 24 and then negotiate a separate key with email server 21.

The present method and system thus provides an efficient and convenient way to protect a computer system from malicious attacks.

Numerous additional modifications and variations of the present disclosure are possible in view of the above-teachings. It is therefore to be understood that within the scope of the appended claims, the present disclosure may be practiced other than as specifically described herein. 

1. A method for maintaining computer security comprising: receiving an incoming email destined for an email server; determining whether the received incoming email is infected with malicious code; and blocking the incoming email determined to be infected with malicious code from reaching the email server.
 2. The method of claim 1, wherein determining whether the received incoming email is infected with malicious code comprises: parsing the incoming email; converting the incoming email into an internal format; and using a virus signature file to determine whether the converted incoming email includes malicious code.
 3. The method of claim 2, further comprising reassembling the converted incoming email back into its original format if it is determined that the email does not include malicious code.
 4. The method of claim 3, further comprising forwarding the reassembled email to the email server.
 5. The method of claim 2, wherein the virus signature file contains information about known email viruses.
 6. The method of claim 5, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 7. The method of claim 2, further comprising continuously updating the virus signature file.
 8. The method of claim 2, further comprising periodically downloading an updated virus signature file in order to make its copy current.
 9. A method for maintaining computer security comprising: receiving an email from an email server destined for an end user; determining whether the received email is infected with malicious code; and blocking the received email determined to be infected with malicious code from reaching the end user.
 10. The method of claim 9, wherein determining whether the received email is infected with malicious code comprises: parsing the received email; converting the received email into an internal format; and using a virus signature file to determine whether the converted email includes malicious code.
 11. The method of claim 10, further comprising reassembling the converted email back into its original format if it is determined that the email does not include malicious code.
 12. The method of claim 11, further comprising forwarding the reassembled email to the end user.
 13. The method of claim 10, wherein the virus signature file contains information about known email viruses.
 14. The method of claim 13, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 15. The method of claim 10, further comprising continuously updating the virus signature file.
 16. The method of claim 10, further comprising periodically downloading an updated virus signature file in order to make its copy current.
 17. A computer system for maintaining computer security comprising: a system for receiving an incoming email destined for an email server; a system for determining whether the received incoming email is infected with malicious code; and a system for blocking the incoming email determined to be infected with malicious code from reaching the email server.
 18. The computer sytstem of claim 17, wherein the system for determining whether the received incoming email is infected with malicious code comprises: a system for parsing the incoming email; a system for converting the incoming email into an internal format; and a system for using a virus signature file to determine whether the converted incoming email includes malicious code.
 19. The computer system of claim 18, further comprising a system for reassembling the converted incoming email back into its original format if it is determined that the email does not include malicious code.
 20. The computer system of claim 19, further comprising a system forwarding the reassembled email to the email server.
 21. The computer system of claim 18, wherein the virus signature file contains information about known email viruses.
 22. The computer system of claim 21, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 23. The computer system of claim 18, further comprising a system for continuously updating the virus signature file.
 24. The computer system of claim 2, further comprising a system for periodically downloading an updated virus signature file in order to make its copy current.
 25. A computer system for maintaining computer security comprising: a system for receiving an email from an email server destined for an end user; a system for determining whether the received email is infected with malicious code; and a system for blocking the received email determined to be infected with malicious code from reaching the end user.
 26. The computer system of claim 25, wherein the system for determining whether the received email is infected with malicious code comprises: a system for parsing the received email; a system for converting the received email into an internal format; and a system for using a virus signature file to determine whether the converted email includes malicious code.
 27. The computer system of claim 10, further comprising a system for reassembling the converted email back into its original format if it is determined that the email does not include malicious code.
 28. The computer system of claim 27, further comprising a system for forwarding the reassembled email to the end user.
 29. The computer system of claim 26, wherein the virus signature file contains information about known email viruses.
 30. The computer system of claim 29, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 31. The computer system of claim 26, further comprising a system for continuously updating the virus signature file.
 32. The computer system of claim 26, further comprising a system for periodically downloading an updated virus signature file in order to make its copy current.
 33. A computer recording medium including computer executable code for maintaining computer security comprising: code for receiving an incoming email destined for an email server; code for determining whether the received incoming email is infected with malicious code; and code for blocking the incoming email determined to be infected with malicious code from reaching the email server.
 34. The computer recording medium of claim 33, wherein the code for determining whether the received incoming email is infected with malicious code comprises: code for parsing the incoming email; code for converting the incoming email into an internal format; and code for using a virus signature file to determine whether the converted incoming email includes malicious code.
 35. The computer recording medium of claim 34, further comprising code for reassembling the converted incoming email back into its original format if it is determined that the email does not include malicious code.
 36. The computer recording medium of claim 35, further comprising code for forwarding the reassembled email to the email server.
 37. The computer recording medium of claim 34, wherein the virus signature file contains information about known email viruses.
 38. The computer recording medium of claim 37, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 39. The computer recording medium of claim 34, further comprising code for continuously updating the virus signature file.
 40. The computer recording medium of claim 34, further comprising code for periodically downloading an updated virus signature file in order to make its copy current.
 41. A computer recording medium including computer executable code for maintaining computer security comprising: code for receiving an email from an email server destined for an end user; code for determining whether the received email is infected with malicious code; and code for blocking the received email determined to be infected with malicious code from reaching the end user.
 42. The computer recording medium of claim 41, wherein the code for determining whether the received email is infected with malicious code comprises: code for parsing the received email; code for converting the received email into an internal format; and code for using a virus signature file to determine whether the converted email includes malicious code.
 43. The computer recording medium of claim 42, further comprising code for reassembling the converted email back into its original format if it is determined that the email does not include malicious code.
 44. The computer recording medium of claim 43, further comprising code for forwarding the reassembled email to the end user.
 45. The computer recording medium of claim 42, wherein the virus signature file contains information about known email viruses.
 46. The computer recording medium of claim 45, wherein the virus signature file contains known viruses that may be included in a body of the email itself and in attachments to the email.
 47. The computer recording medium of claim 42, further comprising code for continuously updating the virus signature file.
 48. The computer recording medium of claim 42, further comprising code for periodically downloading an updated virus signature file in order to make its copy current. 